<?php
$echo = '<div id="right">';
$menu = $tc->menu(0,4,'vi');
while($row = mysql_fetch_array($menu)){
	$echo .= '<div class="item"><h3><a href="'.$row['url'].'">'.$row['name'].'</a></h3>';
    $menu_s = $tc->menu($row['id'],4,'vi');
	while($row_menu_s = mysql_fetch_array($menu_s)){
		$echo .= '<a href="'.$row_menu_s['url'].'">&gt; '.$row_menu_s['name'].'</a>';
	}
	$echo .= '</div>';
}

$doitac = mysql_query("SELECT name,link FROM slider_banner WHERE position_id=7");	
if(mysql_query($doitac) > 0){
$echo .= '<div class="item"><h3><a href="javascript:;">Đối tác</a></h3>';
while($row = mysql_fetch_array($doitac)){
	$echo .= '<a href="'.$row['link'].'">&gt; '.$row['name'].'</a>';
}
$echo .= '</div>';
}
echo $echo.'
<div class="item4"><p><b>Hotline:</b> '.$row_config['hotline'].'</p><p style="margin-bottom:3px"><b>Email:</b> info@rehmi.org</p>
<p style="margin-top:-6px; margin-bottom:3px"><a style="line-height:22px" href="ymsgr:sendIM?'.$row_config['yahoo'].'"><img style="float:left; margin-top:5px" src="http://opi.yahoo.com/online?u='.$row_config['yahoo'].'&m=g&t=0" border=0> &nbsp;<b>Hỗ trợ trực tuyến</b></a></p>
<div class="fb-like" data-href="https://www.facebook.com/RehmiInstitute" data-send="true" data-layout="button_count" data-width="150" data-show-faces="true"></div>
        <div id="fb-root"></div>
		<script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
</div><div style="clear:both"></div>
</div>';
